<?php
 class xiaozuguanliView extends GetLoad
{	

	 function jianliView($data){
        $this->load("Controller/user1");
        $daohang =new ControllerName();
        $daohang->Getname(0);
      //  echo date("d");


?>

	<div style="margin-left:auto; margin-right:auto;" class="container" >    
        
        	<div id="MainForm">
              <div class="form_boxA">
              <h2>小组</h2>

               <?php  foreach ($data['xiaozu'] as  $xiaozu) {     ?>

              <table cellpadding="0" cellspacing="0">
              <tr>
              <th>姓名</th>
              <th>组号</th>
              <th>班级</th>
              <th>操作| <a href=<?php echo "./index.php?route=Controller/jiaoshi/ControllerJiaoshi/xiugaixiaozu&=".$xiaozu[0] ?> >添加</a></th>
           
              </tr>
              <?php  foreach ($xiaozu[1] as  $x1) {     ?>

              <tr>
              <td><?php echo $x1['chengyuan']; ?></td>
              <td><?php echo $x1['zuhao']; ?></td>
              <td><?php echo $x1['class']; ?></td>
              <td><a href=<?php echo "./index.php?route=Controller/jiaoshi/ControllerJiaoshi/shangchuchengyuan&=".$x1['id'] ?> > 删除 </a></td>
             
              </tr>   
                 <?php   } ?>
              <tr height ="30px" >

             
              </tr>  


              </table>
                <?php   } ?>
              
              </div>
          </div>
           
        
            
       </div>
    </div>

    
</body>
</html>










<?php



	}
}


?>